package com.team3.ecommerce.service;

import com.team3.ecommerce.domain.Commodity;
import org.springframework.stereotype.Service;

import java.util.List;

public interface CommodityService {
    Commodity findCommodityById(String id);
    List<Commodity> searchCommodity(String searchString);
    List<Commodity> searchCommodityTypeLimited(String searchString,String commType);
    List<Commodity> commodityFilter(String searchString,String commType,String commStock,int priceLowerBound,int priceUpperBound);
}